table of contents
HALT(8) | halt | HALT(8) |
NAME¶
halt, poweroff, reboot - Halt, power-off or reboot the machine
SYNOPSIS¶
halt [OPTIONS...]
poweroff [OPTIONS...]
reboot [OPTIONS...]
DESCRIPTION¶
halt, poweroff, reboot may be used to halt, power-off, or reboot the machine. All three commands take the same options.
OPTIONS¶
The following options are understood:
--help
--halt
-p, --poweroff
--reboot
-f, --force
-w, --wtmp-only
-d, --no-wtmp
-n, --no-sync
--no-wall
EXIT STATUS¶
On success, 0 is returned, a non-zero failure code otherwise.
NOTES¶
These commands are implemented in a way that preserves basic compatibility with the original SysV commands. systemctl(1) verbs halt, poweroff, reboot provide the same functionality with some additional features.
Note that on many SysV systems halt used to be synonymous to poweroff, i.e. both commands would equally result in powering the machine off. systemd is more accurate here, and halt results in halting the machine only (leaving power on), and poweroff is required to actually power it off.
SEE ALSO¶
systemd 252 |